package com.jy.adscm.operation.purchase.mapper.mysql;

import com.jy.adscm.operation.purchase.bean.Bomandsupplier;
import com.baomidou.mybatisplus.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * bom和供应商管理配置表 Mapper 接口
 * </p>
 *
 * @author lzf
 * @since 2019-05-05
 */
public interface BomandsupplierMapper extends BaseMapper<Bomandsupplier> {

    List<Bomandsupplier> query( @Param("currentPage") Integer currentPage,
                                @Param("pageSize") Integer pageSize,
                                @Param("key") String key,
                                @Param("sortBy") String sortBy
                              );


    Integer queryCount(@Param("key") String key);
}
